package com.tm.pojo;

import java.math.BigDecimal;

/**
 * @author xiaobai
 * @create 2022-12-18 15:36
 */
public class SpecsGoodsMappingPojo {

    // 关联id
    private Long sgmId;
    // 商品ID
    private Long goodsId;
    // 规格id
    private Long specsId;
    // 收到规格印象的价格
    private BigDecimal goodsSgmPrice;
    // 销量
    private Long salesVolumeNum;
    // 库存
    private Long goodsStock;
    // 是否上架
    private Integer goodsIsUp;
    // 创建时间
    private Long createTime;
    // 修改时间
    private Long updateTime;

    public Long getSgmId() {
        return sgmId;
    }

    public void setSgmId(Long sgmId) {
        this.sgmId = sgmId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getSpecsId() {
        return specsId;
    }

    public void setSpecsId(Long specsId) {
        this.specsId = specsId;
    }


    public BigDecimal getGoodsSgmPrice() {
        return goodsSgmPrice;
    }

    public void setGoodsSgmPrice(BigDecimal goodsSgmPrice) {
        this.goodsSgmPrice = goodsSgmPrice;
    }

    public Long getSalesVolumeNum() {
        return salesVolumeNum;
    }

    public void setSalesVolumeNum(Long salesVolumeNum) {
        this.salesVolumeNum = salesVolumeNum;
    }

    public Long getGoodsStock() {
        return goodsStock;
    }

    public void setGoodsStock(Long goodsStock) {
        this.goodsStock = goodsStock;
    }

    public Integer getGoodsIsUp() {
        return goodsIsUp;
    }

    public void setGoodsIsUp(Integer goodsIsUp) {
        this.goodsIsUp = goodsIsUp;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public SpecsGoodsMappingPojo() {
    }

    public SpecsGoodsMappingPojo(Long sgmId, Long goodsId, Long specsId, BigDecimal goodsSgmPrice, Long salesVolumeNum, Long goodsStock, Integer goodsIsUp, Long createTime, Long updateTime) {
        this.sgmId = sgmId;
        this.goodsId = goodsId;
        this.specsId = specsId;
        this.goodsSgmPrice = goodsSgmPrice;
        this.salesVolumeNum = salesVolumeNum;
        this.goodsStock = goodsStock;
        this.goodsIsUp = goodsIsUp;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
}
